package model;

import java.io.Serializable;
import java.sql.Timestamp;

public class Shop implements Serializable {
    private String id;
    private String shopName;
    private Timestamp lastModifyTime;
    private Timestamp createTime;

    public Shop() {
    }
    public Shop(String id, String shopName, Timestamp lastModifyTime, Timestamp createTime) {
        this.id = id;
        this.shopName = shopName;
        this.lastModifyTime = lastModifyTime;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Timestamp getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Timestamp lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id='" + id + '\'' +
                ", shopName='" + shopName + '\'' +
                ", lastModifyTime=" + lastModifyTime +
                ", createTime=" + createTime +
                '}';
    }
}
